<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" class="off">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
    <title><?php echo $seo['title']; ?> - 后台管理中心</title>
    <link href="{:asset('css/admin/reset.css')}" rel="stylesheet" type="text/css">
    <link href="{:asset('css/admin/zh-cn-system.css')}" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="{:asset('js/jquery.min.js')}"></script>
    <script type="text/javascript" src="{:asset('js/jquery.cookie.js')}"></script>
    <script src="{:asset('js/artdialog/jquery.artDialog.source.js')}&skin=default"></script>
    <script type="text/javascript" src="{:asset('js/admin/admin_common.js')}"></script>
    <style type="text/css">
        .objbody{overflow:hidden}
    </style>
</head>
<body scroll="no" class="objbody">
    <div class="header" style="width: auto;">
        <div class="logo lf">
            <a href="<?php echo $site_info['domain']; ?>" target="_blank">
                <span class="invisible">TP-Admin</span>
            </a>
        </div>
        <div class="col-auto">
            <div class="log white cut_line">
                您好！<?php echo $user_info['account']; ?> [<?php echo $user_info['name']; ?>]<span>|</span><a href="__MODULE__/Public/loginout">[退出]</a><span>|</span>
                <a href="<?php echo $site_info['domain']; ?>" target="_blank" id="site_homepage">站点首页</a>
                <!-- <span>|</span>
                <a href="javascript:art.dialog({id:'member',content:'开发中……', title:'后台地图', width:'700', height:'500', lock:true});void(0);">会员中心</a><span>|</span>
                <a href="javascript:art.dialog({id:'search',content:'开发中……', title:'后台地图', width:'700', height:'500', lock:true});void(0);" id="site_search">搜索</a> -->
            </div>
            <ul class="nav white" id="top_menu">
                <?php foreach ($top_menu as $key => $value) { ?>
                <li id="_M<?php echo $value['id']; ?>" class="top_menu <?php if($key == 0) echo "on"; ?>">
                    <a href="javascript:_M(<?php echo $value['id']; ?>,'__MODULE__/<?php echo $value['module']; ?>/<?php echo $value['action']; ?>')" hidefocus="true" style="outline:none;"><?php echo $value['title']; ?></a>
                </li>
                <?php } ?>
                <li class="tab_web">
                    <a href="javascript:;"><span><?php echo $site_info['name']; ?></span></a>
                </li>
            </ul>
        </div>
    </div>
    <div id="content" style="width: auto;">
        <div class="col-left left_menu">
            <div id="Scroll" style="height: 527px;">
                <div id="leftMain"></div>
            </div>
            <a href="javascript:;" id="openClose" hidefocus="hidefocus" class="open" title="展开与关闭"><span class="hidden">展开</span></a>
        </div>
        <div class="col-1 lf cat-menu" id="display_center_id" style="display:none;" height="100%">
            <div class="content">
                <iframe name="center_frame" id="center_frame" src="" frameborder="false" scrolling="auto" style="border: none; height: 556px;" width="100%" height="auto" allowtransparency="true"></iframe>
            </div>
        </div>
        <div class="col-auto mr8">
            <div class="crumbs">
                当前位置：<span id="current_pos">我的面板 &gt; 首页</span>
            </div>
            <div class="col-1">
                <div class="content" style="position:relative; overflow:hidden;">
                    <iframe name="right" id="rightMain" src="__MODULE__/Index/main" frameborder="false" scrolling="auto" width="100%" height="auto" allowtransparency="true"></iframe>
                </div>
            </div>
        </div>
    </div>
    <div class="tab-web-panel hidden">
        <ul>
            <?php foreach ($sites as $key => $site) { ?>
            <li style="margin:0"><a href="__MODULE__/Index/change_site/siteid/<?php echo $site['id']; ?>"><?php echo $site['name']; ?></a></li>
            <?php } ?>
        </ul>
    </div>
    <div class="scroll" style="display: none;">
        <a href="javascript:;" class="per" title="使用鼠标滚轴滚动侧栏" onclick="menuScroll(1);"></a>
        <a href="javascript:;" class="next" title="使用鼠标滚轴滚动侧栏" onclick="menuScroll(2);"></a>
    </div>
    <script type="text/javascript">
        var module = "__MODULE__";
        setInterval("session_life()", 60000);
        function session_life() {
            $.get("__CONTROLLER__/public_session_life");
        }
    </script>
    <script type="text/javascript" src="{:asset('js/admin/index.js')}"></script>
</body>
</html>